<?php
/**
 * Created by PhpStorm.
 * User: hyg
 * Date: 2017-09-14
 * Time: 16:00
 */

$path = pathinfo(basename(__FILE__,'.php'));

var_dump($path['basename']);